package com.haibo.entity.model;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.annotations.Proxy;

import java.io.Serializable;

/**
 * @Author : 刘海波
 * @Date: 2025-08-31 15:59
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper=false)
@Proxy(lazy = false)
@Entity(name = "computer")
public class ComputerDO implements Serializable {

    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    /**
     * 电脑品牌
     */
    @Column(name = "computer_brand")
    private String computerBrand;

    /**
     * 产地
     */
    private String address;

}
